package com.order.dto;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import java.math.BigDecimal;
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class ProductInfoVo {
    @JsonProperty(value = "id")
    private String productId;
    @JsonProperty(value = "name")
    @ApiModelProperty(value = "商品名称")
    private String productName;
    @JsonProperty(value = "price")
    @ApiModelProperty(value = "单价")
    private BigDecimal productPrice;
    @JsonProperty(value = "icon")
    @ApiModelProperty(value = "小图")
    private String productIcon;
    @JsonProperty(value = "description")
    @ApiModelProperty(value = "描述")
    private String productDescription;
}
